<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://jsptags.com/tags/navigation/pager" prefix="pg" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions"  prefix="fn"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP '/cun_ryzlinfo.jsp' starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

  </head>
  <link rel="stylesheet" type="text/css" href="css/style.css"/>
<script src="js/sorttable.js"></script>
<script src="js/main.js"></script>
<script src="js/prototype.js"></script>
  <body bgcolor="#70A4CF">
    <table width="100%" class="TableTop">
  <tbody><tr>
      <td class="left"></td>
      <td class="center subject">
         ${shzt }人员资料　${fn:length(list)}条数据</td>
      <td class="right"></td>
   </tr>
</tbody></table>

  <pg:pager url="djxs.do" index="half-full" maxPageItems = "10" 
  maxIndexPages="10" isOffset = "<%=false%>" 
  export = "pageOffset,currentPageNumber=pageNumber" 
  scope = "request">
  <pg:param name="id"  value="${id}" />
  
<form name="form1" id="form1"  method="post">
<table width="100%" border="0" cellpadding="0" cellspacing="0" class=" TableBlock no-top-border">
<thead>
  <tr class="title_text">
    <td  align="center" class="TableData" >编号</td>
    <td  align="center" class="TableData" >姓名</td>
    <td  align="center" class="TableData">性别</td>
    <td  align="center" class="TableData">出生日期</td>
    <td align="center" class="TableData">参加工作日期</td>
    <td  align="center" class="TableData">参加计生工作日期</td>
    
    <td  align="center" class="TableData">操作</td>
  </tr>
  </thead>
  <TBODY >
  <c:set var="bb" value="yfxm" />
  <c:forEach var="l" items="${list}">
  <pg:item>
  <tr>
    <td  align="center" class="TableData">${l.bh}</td>
    <td  align="center" class="TableData"><a href="ryzlInfo.do?id=${l.id }">${l.xm}</a></td>
    <td  align="center" class="TableData">${l.xb}</td>
    <td  align="center" class="TableData">${l.csrqString} </td>
    <td  align="center" class="TableData">${l.cjgzrqString}</td>
    <td  align="center" class="TableData">${l.cjjsgzrqString}</td>
    
    <td  align="center" class="TableData">
      <a href="ryzlInfo.do?id=${l.id }">详细信息</a>
    <a href="rypx.do?state=showall&&uid=${l.id}"> 培训信息</a>
     <a href="rykp.do?state=showall&&uid=${l.id }">考评信息</a> 
     <a href="rytxList.do?uid=${l.id}">调薪信息</a> 
     <a href="ryddList.do?uid=${l.id}">调动信息</a></td>
  </tr>
  </pg:item>
  </c:forEach>
  </TBODY>
</table>
</form>
<pg:index>
    <center>
    <table border=0 cellpadding=5  cellspacing=0 style="font-size:12px">
    <tr align=center valign=top>
    <td valign=bottom></td>
    <pg:prev ifnull="true">
      <% if (pageUrl != null) { %>
        <td align=right><A HREF="<%=pageUrl%>&pageNo=<%=pageNumber%>&state=showryzlinfo">上一页<br />
        </A></td>
      <% } else { %>
        <td>上一页</td>
      <% } %>
    </pg:prev>
    <pg:pages>
      <% if (pageNumber == currentPageNumber) { %>
        <td>
        <font color=#A90A08><%= pageNumber %></font></td>
      <% } else { %>
        <td><A HREF="<%=pageUrl%>&pageNo=<%=pageNumber%>&state=showryzlinfo">
        <%=pageNumber%></A></td>
      <% } %>
    </pg:pages>
    <pg:next ifnull="true">
      <% if (pageUrl != null) { %>
        <td><A HREF="<%=pageUrl%>&pageNo=<%=pageNumber%>&state=showryzlinfo">下一页<br></A></td>
      <% } else { %>
        <td>下一页</td>
      <% } %>
    </pg:next>
    </tr>
    </table>
    </center>
  </pg:index>
  </pg:pager>
  </body>
</html>
